set pList = [#MyColor:[#comment: "Which color would you like to use for the RollOver?", #format: #integer, #range: [#min: 0, #max: 255], #default: 192], \
#RollOvr: [#comment: "Which member would you like to use for the rollover?", #format: #string, #default: ""], \
#AssocImage: [#Comment: "Which image is this member associated with?", #format: #string, #default: ""],\
#ButtonSound:[#comment: "What sound would you like to play when the button is pressed?",#format:#string,#default:"Click"],\
#MovieControl: [#comment: "Is this button used to control a movie?",#format: #string,#range: ["Play", "Pause","Stop","Rewind","Fast Forward", "No"],#default:"No"], \
#WebAddress: [#Comment: "What address would you like the graphic to link to?", #format: #string, #default: ""],\
#WhichFrame: [#comment: "Which frame would you like to jump to?", #format:#integer, default: "0"]]
return plist
end
--This is for the rollover.
on mouseenter me
if rollovr <> "" then
sprite(SpNum).membernum = member(RollOvr).number
end if
if AssocImage <> "" then
sendallsprites(#imagechange, AssocImage)
end if
member(MyNum).forecolor = MyColor
sprite(SpNum).cursor = 280
updateStage
end
on mouseleave me
if rollovr <> "" then
sprite(SpNum).membernum = member(MyNum).number
end if
member(MyNum).forecolor = OrigColor
sprite(SpNum).cursor = 293
-- Glowing = 0
updateStage
end
--This goes to another frame and tells the movie what to do. Also plays the sound, if any.